package cn.chousensei.chousenseiblog.service;

import cn.chousensei.chousenseiblog.dto.PaginationDTO;
import cn.chousensei.chousenseiblog.model.Blog;

public interface BlogService {
    void createOrUpdate(Blog blog) throws Exception;

    PaginationDTO list(Integer page, Integer size);
}
